﻿




using System.Collections.Generic;
using Hotpot.Models;
using Hotpot.Modules.Membership.Models;

namespace Hotpot.Modules.Membership.Services
{
    public interface IRoleService
    {
        Role GetRole(string name);
        IEnumerable<Role> GetSiteRoles();
        IEnumerable<Role> FindRoles(RoleSearchCriteria criteria);
        ModelResult<Role> AddRole(RoleInput roleInput);
        ModelResult<Role> EditRole(Role role, RoleInput roleInput);
        void RemoveRole(Role role);
    }
}
